<script lang='ts' setup name='App'>
import { ref } from "vue";
const show = ref(true)
import  Child1 from "./Child1.vue";
import  Child2 from "./Child2.vue";

</script>

<template>
      <div class="parent">
            <!-- <Child1 v-if="show"></Child1> -->
            <Child2 v-if="show"></Child2>
      </div>

     


</template>

<style scoped>
      .parent{
            border: solid 1px gray;
            padding: 10px;
            background-color: antiquewhite;
      }
</style>